package com.leyou.service;

import com.leyou.dto.SpecParamDTO;
import com.leyou.dto.SpuDTO;

import java.util.List;

public interface GoodsService {
    //todo 查询商品规格参数键值对
    List<SpecParamDTO> querySpecsValues(Long spuId, Boolean searching);

    //todo 根据id查询商品spu及sku、spuDetail等
    SpuDTO queryGoodsDetailById(Long id);
}
